﻿using System;
using System.Linq;

namespace Common
{
    public static class OrderedEnumerableExtension
    {
        public static void Dump<T>(this IOrderedEnumerable<T> source, string message)
        {
            Console.WriteLine(message);
            foreach (var e in source)
            {
                Console.Write("{0}\t",e);
            }
            Console.WriteLine();
        }
    }
}